import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入全局的重置css
import "./assets/css/reset.css";
//将所有按需引入的vant组件放到一个js文件中引入
import './vant/vant.js'
Vue.config.productionTip = false
//定义全局的价格过滤器
Vue.filter('priceFilter', value => {
  let numVal = Number(value)
  return '￥ ' + numVal.toFixed(2) + ' 元'
})


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')